<?php

declare(strict_types=1);

return [
    'mini_app' => [
        'app_id' => env('WECHAT_MINI_APP_APP_ID'),
        'secret' => env('WECHAT_MINI_APP_SECRET'),
        'http' => [
            'throw'  => true,
            'timeout' => 5.0,
            'retry' => false,
        ],
    ],
    'pay' => [
        'mch_id' => env('WECHAT_PAY_MCH_ID'),
        'private_key' => env('WECHAT_PAY_PRIVATE_KEY'),
        'certificate' => env('WECHAT_PAY_CERTIFICATE'),
        'secret_key' => env('WECHAT_PAY_SECRET_KEY'),
        'platform_certs' => explode(',', env('WECHAT_PAY_PLATFORM_CERTS')),
        'notify_url' => env('WECHAT_PAY_NOTIFY_URL'),
        'http' => [
            'throw'  => true,
            'timeout' => 5.0,
            'retry' => false,
        ],
    ],
];